123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHA05020" position="absolute 0 0 1196 760" titletext="청구관리" onload="SMAHA05020_onload">
- <Layouts>
- <Layout>
- <Button id="btn_savecret" taborder="1" text="청구생성" class="btn4" position="absolute 951 737 1031 759" anchor="right bottom" onclick="btn_savecret_onclick"/>
- <Button id="btn_savaincm" taborder="2" text="입금저장" class="btn4" position="absolute 1033 737 1113 759" anchor="right bottom" onclick="btn_savaincm_onclick"/>
- <Button id="btn_clamcncl" taborder="3" text="청구취소" class="btn4" position="absolute 1115 737 1195 759" anchor="right bottom" onclick="btn_clamcncl_onclick"/>
- <Tab id="swt_req" anchor="all" taborder="4" tabindex="0" position="absolute 0 27 1195 739">
- <Tabpages>
- <Tabpage id="case_cret" text="청구생성" scrollbars="none" selected="true">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="1" class="div_SA2" position="absolute 0 0 1195 60" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption" text="~" position="absolute 418 9 431 25"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="건진구분 :" class="search_name" position="absolute 5 7 103 24"/>
- <Combo id="combo1" taborder="2" innerdataset="ds_init_baseinfo_hedetlflaglst_item" codecolumn="cdid" datacolumn="cdnm" enable="false" position="absolute 89 6 219 25" columncount="-1" rowcount="-1"/>
- <Static id="caption10" text="건진일자 :" class="search_name" position="absolute 232 7 310 24"/>
- <Calendar id="ipt_rsvfrdd" taborder="3" autoselect="true" class="input_s_essential" position="absolute 309 6 412 25" autoskip="true"/>
- <Calendar id="ipt_rsvtodd" taborder="4" autoselect="true" class="input_s_essential" position="absolute 435 6 538 25"/>
- <Static id="caption15" text="건진구분 :" class="search_name" position="absolute 550 7 628 24"/>
- <Combo id="cmb_srchhealexamgubun1" taborder="5" innerdataset="ds_init_baseinfo_healexamgubun_A0088" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 624 6 734 25" columncount="-1" rowcount="-1"/>
- <Static id="caption36" text="건진장소 :" class="search_name" position="absolute 750 7 831 24"/>
- <Combo id="cmb_srchplceflag" taborder="6" innerdataset="ds_init_baseinfo_plceflag_A0110" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 828 6 906 25" columncount="-1" rowcount="-1"/>
- <Static id="caption7" text="청구구분 :" class="search_name" position="absolute 919 7 997 24"/>
- <Combo id="cmb_reqtype" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 997 6 1107 25" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일반건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">구강건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">암건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">영유아검진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption4" text="사 업 장 :" class="search_name" position="absolute 5 33 91 50"/>
- <Edit id="ipt_srchcmpycd" taborder="8" autoselect="true" class="input_search" position="absolute 88 32 173 51" onkeyup="swt_req_case_cret_ipt_srchcmpycd_onkeyup"/>
- <Button id="btn_selcmpy" taborder="9" class="icon_search" position="absolute 179 33 195 49" onclick="swt_req_case_cret_btn_selcmpy_onclick"/>
- <Edit id="opt_srchcmpynm" taborder="10" readonly="true" class="output" position="absolute 202 33 387 52"/>
- <Static id="caption16" text="파일명 :" class="search_name" position="absolute 423 35 493 52"/>
- <Edit id="input1" taborder="11" autoselect="true" class="input_search" position="absolute 490 33 695 52"/>
- <Button id="btn_srch" taborder="12" text="조회" class="btn1" position="absolute 1126 19 1182 41" anchor="top right" onclick="swt_req_case_cret_btn_srch_onclick"/>
- <Static id="caption3" text="청구대상자" class="tit_2" position="absolute 0 68 111 90"/>
- <Static id="caption2" text="건" position="absolute 260 68 282 82" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Button id="button1" taborder="16" text="엑셀저장" class="btn7" position="absolute 1115 62 1195 84" anchor="top right" onclick="swt_req_case_cret_button1_onclick"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1120 3 1123 55" anchor="top right"/>
- <Shape id="line2" class="line_1" position="absolute 0 85 1195 88" style="strokepen:5 solid #33bbbbff;" anchor="left top right"/>
- <Grid id="grd_reqcretlst" taborder="17" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" onheadclick="grp_biz_swt_req_case_cret_grd_reqcretlst_onheadclick" ontextchanged="grp_biz_swt_req_case_cret_grd_reqcretlst_ontextchanged" position="absolute 0 89 1195 680" anchor="all" onaftersort="grp_biz_swt_req_case_cret_grd_reqcretlst_onaftersort" binddataset="ds_main_reqtrgtlst_item" onmouseup="swt_req_case_cret_grd_reqcretlst_onmouseup" cellclickbound="cell" selecttype="multirow" onlbuttonup="swt_req_case_cret_grd_reqcretlst_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="258"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="주민번호"/>
- <Cell col="4" text="공단금액"/>
- <Cell col="5" text="보건소(국고)금액"/>
- <Cell col="6" text="건진일자"/>
- <Cell col="7" text="등록번호"/>
- <Cell col="8" text="1_2차구분"/>
- <Cell col="9" text="패키지"/>
- <Cell col="10" text="패키지명"/>
- <Cell col="11" text="healexamflag"/>
- <Cell col="12" text="healexamdetlflag"/>
- <Cell col="13" text="rsrvdd"/>
- <Cell col="14" text="rsrvno"/>
- <Cell col="15" text="cretflag"/>
- <Cell col="16" text="sisfilename"/>
- <Cell col="17" text="healexamgubun"/>
- <Cell col="18" text="plceflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="2" text="bind:hngnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="3" text="bind:rrgstno" mask="######-#######" maskchar=" " suppress="1" suppressalign="middle,over"/>
- <Cell col="4" displaytype="number" text="bind:payinsubamt"/>
- <Cell col="5" displaytype="number" text="bind:payhealcntramt"/>
- <Cell col="6" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" displaytype="text" text="bind:pid"/>
- <Cell col="8" displaytype="combo" style="align:center middle;" text="bind:dgflag" combodataset="ds_cmb_dgflag" combocodecol="value" combodatacol="label"/>
- <Cell col="9" displaytype="text" style="align:left middle;" text="bind:pkgcd"/>
- <Cell col="10" displaytype="text" style="align:left middle;" text="bind:pkgnm" wordwrap="word"/>
- <Cell col="11" text="bind:healexamflag"/>
- <Cell col="12" text="bind:healexamdetlflag"/>
- <Cell col="13" text="bind:rsrvdd"/>
- <Cell col="14" text="bind:rsrvno"/>
- <Cell col="15" text="bind:cretflag"/>
- <Cell col="16" text="bind:sisfilename"/>
- <Cell col="17" text="bind:healexamgubun"/>
- <Cell col="18" text="bind:plceflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <MaskEdit id="count" taborder="18" position="absolute 221 65 257 84" mask="9,9999999999999" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <MaskEdit id="payinsubamt" taborder="19" mask="9,9999999999999" position="absolute 333 65 425 84" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <MaskEdit id="payhealcntramt" taborder="20" mask="9,9999999999999" position="absolute 426 65 518 84" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <MaskEdit id="count2" taborder="21" mask="9,9999999999999" position="absolute 277 65 313 84" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Static id="caption00" text="명" position="absolute 316 68 338 82" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_mngt" text="청구/반송관리" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="1" class="div_SA2" position="absolute 0 0 1195 60" anchor="left top right">
- <Layouts>
- <Layout width="1195" height="60"/>
- </Layouts>
- </Div>
- <Static id="caption5" text="청구일자 :" class="search_name" position="absolute 5 10 103 27"/>
- <Calendar id="ipt_clamfromdd" taborder="2" autoselect="true" class="input_s_essential" position="absolute 83 8 186 27" autoskip="true"/>
- <Static id="caption9" text="~" class="search_n_b" position="absolute 190 9 202 26" style="font:,,bolder;"/>
- <Calendar id="ipt_clamtodd" taborder="3" autoselect="true" class="input_s_essential" position="absolute 205 8 308 27"/>
- <Static id="caption13" text="청구상태 :" class="search_name" position="absolute 322 10 420 27"/>
- <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="4" text="checkbox1" scrollbars="none" position="absolute 398 7 578 27" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- <Static id="caption8" text="건진구분 :" class="search_name" position="absolute 590 7 684 24"/>
- <Combo id="cmb_srchhealexamgubun2" taborder="5" innerdataset="ds_init_baseinfo_healexamgubun_A0088" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 669 6 749 25" columncount="-1" rowcount="-1"/>
- <Static id="caption11" text="건진장소 :" class="search_name" position="absolute 764 8 853 25"/>
- <Combo id="cmb_srchplceflag2" taborder="6" innerdataset="ds_init_baseinfo_plceflag_A0110" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 845 6 905 25" columncount="-1" rowcount="-1"/>
- <Static id="caption12" text="청구구분 :" class="search_name" position="absolute 923 8 1005 25"/>
- <Combo id="combo3" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 1005 6 1085 25" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일반건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">구강건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">암건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">영유아검진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption14" text="파일명 :" class="search_name" position="absolute 5 35 103 52"/>
- <Edit id="input4" taborder="8" autoselect="true" class="combo_search" position="absolute 83 33 358 52" onkeyup="swt_req_case_mngt_input4_onkeyup"/>
- <Button id="btn_srch2" taborder="9" text="조회" class="btn1" position="absolute 1125 19 1181 41" anchor="top right" onclick="swt_req_case_mngt_btn_srch2_onclick"/>
- <Static id="caption17" text="청구내역" class="tit_2" position="absolute 0 68 111 89"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1118 6 1121 49" anchor="top right"/>
- <Shape id="line4" class="line_10" position="absolute 0 82 1195 93" anchor="left top right"/>
- <Button id="button2" taborder="10" text="엑셀저장" class="btn7" position="absolute 1115 62 1195 84" anchor="top right" onclick="swt_req_case_mngt_button2_onclick"/>
- <Button id="button8" taborder="11" text="저장" class="btn5" position="absolute 1005 62 1047 84" anchor="top right" onclick="swt_req_case_mngt_button8_onclick"/>
- <Button id="button3" taborder="12" text="일괄입력" class="btn5" position="absolute 1049 62 1113 84" anchor="top right" onclick="swt_req_case_mngt_button3_onclick"/>
- <Grid id="grd_reqlst" taborder="13" binddataset="ds_main_reqlst_item" autoenter="select" useinputpanel="false" cellsizingtype="col" oncellclick="grp_biz_swt_req_case_mngt_grd_reqlst_oncellclick" onheadclick="grp_biz_swt_req_case_mngt_grd_reqlst_onheadclick" position="absolute 0 89 1195 247" anchor="left top right" onaftersort="grp_biz_swt_req_case_mngt_grd_reqlst_onaftersort" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="38"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="107"/>
- <Column size="119"/>
- <Column size="123"/>
- <Column size="122"/>
- <Column size="118"/>
- <Column size="115"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="선택"/>
- <Cell col="2" text="청구일자"/>
- <Cell col="3" text="청구구분"/>
- <Cell col="4" text="건진장소"/>
- <Cell col="5" text="파일명"/>
- <Cell col="6" text="비고"/>
- <Cell col="7" text="청구금액"/>
- <Cell col="8" text="공단금액"/>
- <Cell col="9" text="공단조정액"/>
- <Cell col="10" text="공단입금액"/>
- <Cell col="11" text="공단삭감액"/>
- <Cell col="12" text="공단절사액"/>
- <Cell col="13" text="공단추가액"/>
- <Cell col="14" text="보건소(국고)금액"/>
- <Cell col="15" text="보건소(국고)조정액"/>
- <Cell col="16" text="보건소(국고)입금액"/>
- <Cell col="17" text="보건소(국고)삭감액"/>
- <Cell col="18" text="보건소(국고)절사액"/>
- <Cell col="19" text="보건소(국고)추가액"/>
- <Cell col="20" text="청구상태"/>
- <Cell col="21" text="청구처코드"/>
- <Cell col="22" text="반환내역"/>
- <Cell col="23" text="청구번호"/>
- <Cell col="24" text="healexamgubun"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="normal" edittype="none" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="2" displaytype="date" text="bind:clamdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:cretflag" combodataset="ds_cmb_cretflag" combocodecol="value" combodatacol="label"/>
- <Cell col="4" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:plceflag" combodataset="ds_init_baseinfo_plceflag_A0110" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:sisfilename"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:remfact"/>
- <Cell col="7" displaytype="number" text="bind:clamamt"/>
- <Cell col="8" displaytype="number" text="bind:payinsubamt"/>
- <Cell col="9" displaytype="number" text="bind:insuadjustamt"/>
- <Cell col="10" displaytype="number" text="bind:incminsuamt"/>
- <Cell col="11" displaytype="number" text="bind:insureduamt"/>
- <Cell col="12" displaytype="number" text="bind:insurestamt"/>
- <Cell col="13" displaytype="number" text="bind:insuaddamt"/>
- <Cell col="14" displaytype="number" text="bind:payhealcntramt"/>
- <Cell col="15" displaytype="number" text="bind:healcntradjustamt"/>
- <Cell col="16" displaytype="number" text="bind:incmhealcntramt"/>
- <Cell col="17" displaytype="number" text="bind:healcntrreduamt"/>
- <Cell col="18" displaytype="number" text="bind:healcntrrestamt"/>
- <Cell col="19" displaytype="number" text="bind:healcntraddamt"/>
- <Cell col="20" displaytype="combo" style="align:center middle;" text="bind:clamstat" combodataset="ds_cmb_clamstat" combocodecol="value" combodatacol="label"/>
- <Cell col="21" text="bind:clamtrgtcd"/>
- <Cell col="22" displaytype="checkbox" edittype="checkbox" text="bind:rtnchkyn" expr="expr:rtnchkyn == 'Y' ? 1 : 0"/>
- <Cell col="23" displaytype="text" text="bind:clamseqno"/>
- <Cell col="24" text="bind:healexamgubun"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="총계"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="5" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="6" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="7" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('clamamt');"/>
- <Cell col="8" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('payinsubamt');"/>
- <Cell col="9" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insuadjustamt');"/>
- <Cell col="10" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('incminsuamt');"/>
- <Cell col="11" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insureduamt');"/>
- <Cell col="12" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insurestamt');"/>
- <Cell col="13" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insuaddamt');"/>
- <Cell col="14" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('payhealcntramt');"/>
- <Cell col="15" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntradjustamt');"/>
- <Cell col="16" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('incmhealcntramt');"/>
- <Cell col="17" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntrreduamt');"/>
- <Cell col="18" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntrrestamt');"/>
- <Cell col="19" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntraddamt');"/>
- <Cell col="20" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="21" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="22" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="23" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="24" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Tab id="switch1" anchor="all" taborder="14" onchanged="grp_biz_swt_req_case_mngt_switch1_onchanged" tabindex="0" position="absolute 0 249 1195 690">
- <Tabpages>
- <Tabpage id="case_clam" text="청구내역" selected="true">
- <Layouts>
- <Layout>
- <Static id="caption18" text="청구상세내역" class="tit_2" position="absolute 0 7 111 28"/>
- <Shape id="line5" class="line_10" position="absolute 0 21 1195 32" anchor="left top right"/>
- <Button id="btn_rtn2" taborder="1" text="환자검색" class="btn5" position="absolute 917 1 981 23" anchor="top right" onclick="swt_req_case_mngt_switch1_case_clam_btn_rtn2_onclick"/>
- <Button id="btn_rtn" taborder="2" text="선택반환" class="btn5" position="absolute 983 1 1047 23" anchor="top right" onclick="swt_req_case_mngt_switch1_case_clam_btn_rtn_onclick"/>
- <Button id="button4" taborder="3" text="일괄입력" class="btn5" position="absolute 1049 1 1113 23" anchor="top right" onclick="swt_req_case_mngt_switch1_case_clam_button4_onclick"/>
- <Button id="btn_detlexcel" taborder="4" text="엑셀저장" class="btn7" position="absolute 1115 1 1195 23" anchor="top right" onclick="swt_req_case_mngt_switch1_case_clam_btn_detlexcel_onclick"/>
- <Grid id="grd_reqdetllst" taborder="5" binddataset="ds_main_reqdetllst_item" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" onheadclick="grp_biz_swt_req_case_mngt_switch1_case_clam_grd_reqdetllst_onheadclick" position="absolute 0 28 1195 401" anchor="all" style="color:#ff0000;" onaftersort="grp_biz_swt_req_case_mngt_switch1_case_clam_grd_reqdetllst_onaftersort" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="25"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="57"/>
- <Column size="94"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="78"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="87"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="청구일자"/>
- <Cell col="3" text="청구번호"/>
- <Cell col="4" text="성명"/>
- <Cell col="5" text="주민번호"/>
- <Cell col="6" text="등록번호"/>
- <Cell col="7" text="청구금액"/>
- <Cell col="8" text="공단"/>
- <Cell col="9" text="조정액"/>
- <Cell col="10" text="삭감액"/>
- <Cell col="11" text="절사액"/>
- <Cell col="12" text="추가액"/>
- <Cell col="13" text="보건소(국고)"/>
- <Cell col="14" text="조정액"/>
- <Cell col="15" text="삭감액"/>
- <Cell col="16" text="절사액"/>
- <Cell col="17" text="추가액"/>
- <Cell col="18" text="청구상태"/>
- <Cell col="19" text="검사코드"/>
- <Cell col="20" text="healexamflag"/>
- <Cell col="21" text="rsrvdd"/>
- <Cell col="22" text="rsrvno"/>
- <Cell col="23" text="healexamgubun"/>
- <Cell col="24" text="plceflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="2" displaytype="date" text="bind:clamdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="3" text="bind:clamseqno"/>
- <Cell col="4" text="bind:hngnm"/>
- <Cell col="5" text="bind:rrgstno" mask="######-#######" maskchar=" "/>
- <Cell col="6" text="bind:pid"/>
- <Cell col="7" displaytype="number" text="bind:clamamt"/>
- <Cell col="8" displaytype="number" text="bind:payinsubamt"/>
- <Cell col="9" displaytype="number" edittype="masknumber" text="bind:insuadjustamt" editautoselect="true"/>
- <Cell col="10" displaytype="number" edittype="masknumber" text="bind:insureduamt" editautoselect="true"/>
- <Cell col="11" displaytype="number" edittype="masknumber" text="bind:insurestamt" editautoselect="true"/>
- <Cell col="12" displaytype="number" edittype="masknumber" text="bind:insuaddamt" editautoselect="true"/>
- <Cell col="13" displaytype="number" text="bind:payhealcntramt"/>
- <Cell col="14" displaytype="number" edittype="masknumber" text="bind:healcntradjustamt" editautoselect="true"/>
- <Cell col="15" displaytype="number" edittype="masknumber" text="bind:healcntrreduamt" editautoselect="true"/>
- <Cell col="16" displaytype="number" edittype="masknumber" text="bind:healcntrrestamt" editautoselect="true"/>
- <Cell col="17" displaytype="number" edittype="masknumber" text="bind:healcntraddamt" editautoselect="true"/>
- <Cell col="18" displaytype="combo" style="align:center middle;" text="bind:clamstat" combodataset="ds_cmb_clamstat" combocodecol="value" combodatacol="label"/>
- <Cell col="19" style="align:left middle;" text="bind:testcd"/>
- <Cell col="20" text="bind:healexamflag"/>
- <Cell col="21" text="bind:rsrvdd"/>
- <Cell col="22" text="bind:rsrvno"/>
- <Cell col="23" text="bind:healexamgubun"/>
- <Cell col="24" text="bind:plceflag"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;"/>
- <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="총계"/>
- <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" text="총계"/>
- <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="5" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="6" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="7" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('clamamt');"/>
- <Cell col="8" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('payinsubamt');"/>
- <Cell col="9" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insuadjustamt');"/>
- <Cell col="10" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insureduamt');"/>
- <Cell col="11" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insurestamt');"/>
- <Cell col="12" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('insuaddamt');"/>
- <Cell col="13" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('payhealcntramt');"/>
- <Cell col="14" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntradjustamt');"/>
- <Cell col="15" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntrreduamt');"/>
- <Cell col="16" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntrrestamt');"/>
- <Cell col="17" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;" expr="expr:getSum('healcntraddamt');"/>
- <Cell col="18" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="19" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="20" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="21" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="22" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="23" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- <Cell col="24" style="background:#99ff99ff;background2:#99ff99ff;font:arial,9,bold;"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_incm" text="입금내역">
- <Layouts>
- <Layout>
- <Static id="caption19" text="입금내역" class="tit_2" position="absolute 0 8 111 30"/>
- <Shape id="line6" class="line_10" position="absolute 0 22 1195 33" anchor="left top right"/>
- <Button id="btn_incmexcel" taborder="1" text="엑셀저장" class="btn7" position="absolute 1115 5 1195 24" anchor="top right" onclick="swt_req_case_mngt_switch1_case_incm_btn_incmexcel_onclick"/>
- <Grid id="grd_incmlst" taborder="2" binddataset="ds_main_reqdetllst_incm" autoenter="select" useinputpanel="false" cellsizingtype="col" onheadclick="grp_biz_swt_req_case_mngt_switch1_case_incm_grd_incmlst_onheadclick" position="absolute 0 29 1195 402" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="입금일자"/>
- <Cell col="2" text="입금구분"/>
- <Cell col="3" text="심자조정금액"/>
- <Cell col="4" text="입금액"/>
- <Cell col="5" text="삭감액"/>
- <Cell col="6" text="절사액"/>
- <Cell col="7" text="비고"/>
- <Cell col="8" text="입력자"/>
- <Cell col="9" text="청구번호"/>
- <Cell col="10" text="입금일련번호"/>
- <Cell col="11" text="카드현금구분"/>
- <Cell col="12" text="청구처코드"/>
- <Cell col="13" text="입금상태"/>
- <Cell col="14" text="healexamgubun"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:incomedd"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:incomeflag" combodataset="ds_init_baseinfo_incomeflaglst_A0458" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="number" text="bind:chngamt"/>
- <Cell col="4" displaytype="number" text="bind:incomeamt"/>
- <Cell col="5" displaytype="number" text="bind:discamt"/>
- <Cell col="6" displaytype="number" text="bind:restamt"/>
- <Cell col="7" displaytype="text" text="bind:remfact"/>
- <Cell col="8" text="bind:userid"/>
- <Cell col="9" displaytype="text" text="bind:clamseqno"/>
- <Cell col="10" text="bind:incomeseqno"/>
- <Cell col="11" text="bind:cashcardflag"/>
- <Cell col="12" text="bind:clamtrgtcd"/>
- <Cell col="13" text="bind:incomestat"/>
- <Cell col="14" text="bind:healexamgubun"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="공단청구관리" class="tit_1" position="absolute 0 0 178 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchhealexamgubun" type="STRING" size="256"/>
- <Column id="srchhealexamgubun2" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchplceflag" type="STRING" size="256"/>
- <Column id="srchplceflag2" type="STRING" size="256"/>
- <Column id="srchreqtype" type="STRING" size="256"/>
- <Column id="srchcmpycd" type="STRING" size="256"/>
- <Column id="srchcmpynm" type="STRING" size="256"/>
- <Column id="srchclamfromdd" type="STRING" size="256"/>
- <Column id="srchclamtodd" type="STRING" size="256"/>
- <Column id="srchclamstat" type="STRING" size="256"/>
- <Column id="srchclamcretflag" type="STRING" size="256"/>
- <Column id="srchclamsisfilename" type="STRING" size="256"/>
- <Column id="srchclamseqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchhealexamflag"/>
- <Col id="srchhealexamgubun"/>
- <Col id="srchhealexamgubun2"/>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchhealexamdetlflag"/>
- <Col id="srchplceflag"/>
- <Col id="srchplceflag2"/>
- <Col id="srchreqtype"/>
- <Col id="srchcmpycd"/>
- <Col id="srchcmpynm"/>
- <Col id="srchclamfromdd"/>
- <Col id="srchclamtodd"/>
- <Col id="srchclamstat">N</Col>
- <Col id="srchclamcretflag"/>
- <Col id="srchclamsisfilename"/>
- <Col id="srchclamseqno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cretsave" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqcret" type="STRING" size="256"/>
- <Column id="sisfilename" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqcret"/>
- <Col id="sisfilename"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_reqtrgtlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqtrgtlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="건진일자"/>
- <Column id="dgflag" type="STRING" size="256" sumtext="1/2차"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
- <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
- <Column id="payinsubamt" type="INT" size="256" sumtext="미수금액"/>
- <Column id="payhealcntramt" type="INT" size="256" sumtext="보건소금액"/>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
- <Column id="cretflag" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="sisfilename" type="STRING" size="256" sumtext="sis파일명"/>
- <Column id="healexamgubun" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="plceflag" type="STRING" size="256" sumtext="건진장소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_dgflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">1차</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2차</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamgubun_A0088" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_plceflag_A0110" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="count" type="INT" size="256"/>
- <Column id="payinsubamt" type="INT" size="256"/>
- <Column id="payhealcntramt" type="INT" size="256"/>
- <Column id="count2" type="INT" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="count">0</Col>
- <Col id="payinsubamt">0</Col>
- <Col id="payhealcntramt">0</Col>
- <Col id="count2">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_reqlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="cretflag" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="sisfilename" type="STRING" size="256" sumtext="sis파일명"/>
- <Column id="clamseqno" type="INT" size="256" sumtext="청구일련번호"/>
- <Column id="clamdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="clamamt" type="INT" size="256" sumtext="청구금액"/>
- <Column id="payinsubamt" type="INT" size="256" sumtext="공단금액"/>
- <Column id="insuadjustamt" type="INT" size="256" sumtext="공단심사조정금액"/>
- <Column id="incminsuamt" type="INT" size="256" sumtext="공단입금액"/>
- <Column id="insureduamt" type="INT" size="256" sumtext="공단삭감금액"/>
- <Column id="insurestamt" type="INT" size="256" sumtext="공단절사금액"/>
- <Column id="insuaddamt" type="INT" size="256" sumtext="공단추가금액"/>
- <Column id="payhealcntramt" type="INT" size="256" sumtext="보건소금액"/>
- <Column id="healcntradjustamt" type="INT" size="256" sumtext="보건소심사조정금액"/>
- <Column id="incmhealcntramt" type="INT" size="256" sumtext="보건소입금액"/>
- <Column id="healcntrreduamt" type="INT" size="256" sumtext="보건소삭감금액"/>
- <Column id="healcntrrestamt" type="INT" size="256" sumtext="보건소절사금액"/>
- <Column id="healcntraddamt" type="INT" size="256" sumtext="보건소추가금액"/>
- <Column id="clamstat" type="STRING" size="256" sumtext="청구상태"/>
- <Column id="clamtrgtcd" type="STRING" size="256" sumtext="청구대상코드"/>
- <Column id="rtnchkyn" type="STRING" size="256" sumtext="반환내역조회여부"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
- <Column id="healexamgubun" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="plceflag" type="STRING" size="256" sumtext="건진장소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_reqdetllst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqdetllst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="clamdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="clamseqno" type="STRING" size="256" sumtext="청구일련번호"/>
- <Column id="clamamt" type="INT" size="256" sumtext="청구금액"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="payinsubamt" type="INT" size="256" sumtext="공단금액"/>
- <Column id="insuadjustamt" type="INT" size="256" sumtext="공단심사조정액"/>
- <Column id="insureduamt" type="INT" size="256" sumtext="공단삭감금액"/>
- <Column id="insurestamt" type="INT" size="256" sumtext="공단절사금액"/>
- <Column id="insuaddamt" type="INT" size="256" sumtext="공단추가금액"/>
- <Column id="payhealcntramt" type="INT" size="256" sumtext="보건소금액"/>
- <Column id="healcntradjustamt" type="INT" size="256" sumtext="보건소심사조정액"/>
- <Column id="healcntrreduamt" type="INT" size="256" sumtext="보건소삭감금액"/>
- <Column id="healcntrrestamt" type="INT" size="256" sumtext="보건소절사금액"/>
- <Column id="healcntraddamt" type="INT" size="256" sumtext="보건소추가금액"/>
- <Column id="clamstat" type="STRING" size="256" sumtext="청구상태"/>
- <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="rsrvno" type="INT" size="256" sumtext="에약번호"/>
- <Column id="healexamgubun" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="plceflag" type="STRING" size="256" sumtext="건진장소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_reqdetllst_incm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqdetllst_incm_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="incomedd" type="STRING" size="256" sumtext="입금일자"/>
- <Column id="incomeflag" type="STRING" size="256" sumtext="입금구분"/>
- <Column id="cashcardflag" type="STRING" size="256" sumtext="현금카드구분"/>
- <Column id="chngamt" type="INT" size="256" sumtext="조정액"/>
- <Column id="incomeamt" type="INT" size="256" sumtext="입금액"/>
- <Column id="discamt" type="INT" size="256" sumtext="삭감액"/>
- <Column id="restamt" type="INT" size="256" sumtext="절사액"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
- <Column id="userid" type="STRING" size="256" sumtext="입금자"/>
- <Column id="clamtrgtcd" type="STRING" size="256" sumtext="청구처코드"/>
- <Column id="clamseqno" type="STRING" size="256" sumtext="청구일련번호"/>
- <Column id="incomeseqno" type="STRING" size="256" sumtext="입금일련번호"/>
- <Column id="incomestat" type="STRING" size="256" sumtext="청구상태"/>
- <Column id="rsrvno" type="STRING" size="256" sumtext="에약번호"/>
- <Column id="healexamgubun" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="plceflag" type="STRING" size="256" sumtext="건진장소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_cretflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일반건진</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">구강건진</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">암건진</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">영유아검진</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_clamstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">청구</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">청구취소</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">청구완료</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_incomeflaglst_A0458" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_hedetlflaglst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_chk_checkbox1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">청구</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">청구취소</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">청구완료</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cretsave_reqcret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqsave_rtndata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqsave_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqsave_reqdetldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="swt_req.case_cret.combo1" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item1" compid="swt_req.case_cret.ipt_srchcmpycd" propid="value" datasetid="ds_send" columnid="srchcmpycd"/>
- <BindItem id="item2" compid="swt_req.case_cret.opt_srchcmpynm" propid="value" datasetid="ds_send" columnid="srchcmpynm"/>
- <BindItem id="item3" compid="swt_req.case_cret.ipt_rsvfrdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item4" compid="swt_req.case_cret.ipt_rsvtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item5" compid="swt_req.case_cret.input1" propid="value" datasetid="ds_send_cretsave" columnid="sisfilename"/>
- <BindItem id="item6" compid="swt_req.case_cret.cmb_srchhealexamgubun1" propid="value" datasetid="ds_send" columnid="srchhealexamgubun"/>
- <BindItem id="item7" compid="swt_req.case_cret.cmb_srchplceflag" propid="value" datasetid="ds_send" columnid="srchplceflag"/>
- <BindItem id="item8" compid="swt_req.case_cret.cmb_reqtype" propid="value" datasetid="ds_send" columnid="srchreqtype"/>
- <BindItem id="item12" compid="swt_req.case_mngt.ipt_clamfromdd" propid="value" datasetid="ds_send" columnid="srchclamfromdd"/>
- <BindItem id="item13" compid="swt_req.case_mngt.ipt_clamtodd" propid="value" datasetid="ds_send" columnid="srchclamtodd"/>
- <BindItem id="item14" compid="swt_req.case_mngt.input4" propid="value" datasetid="ds_send" columnid="srchclamsisfilename"/>
- <BindItem id="item15" compid="swt_req.case_mngt.cmb_srchhealexamgubun2" propid="value" datasetid="ds_send" columnid="srchhealexamgubun2"/>
- <BindItem id="item16" compid="swt_req.case_mngt.cmb_srchplceflag2" propid="value" datasetid="ds_send" columnid="srchplceflag2"/>
- <BindItem id="item17" compid="swt_req.case_mngt.combo3" propid="value" datasetid="ds_send" columnid="srchclamcretflag"/>
- <BindItem id="item9" compid="swt_req.case_cret.count" propid="value" datasetid="ds_temp" columnid="count"/>
- <BindItem id="item10" compid="swt_req.case_cret.payinsubamt" propid="value" datasetid="ds_temp" columnid="payinsubamt"/>
- <BindItem id="item11" compid="swt_req.case_cret.payhealcntramt" propid="value" datasetid="ds_temp" columnid="payhealcntramt"/>
- <BindItem id="item18" compid="swt_req.case_cret.count2" propid="value" datasetid="ds_temp" columnid="count2"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "com_zipcodexp::ZBP001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "ast_healexamxp::AHA001.xjs";
- include "ast_commonxp::AST.xjs";
- var m_vHealexamflag = "";
- var m_vHealexamdetlflag = "";
- var arErrorCode = new HashArray();
- function SMAHA05020_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(swt_req.case_cret.grd_reqcretlst);
- grdf_initGrid(swt_req.case_mngt.grd_reqlst);
- grdf_initGrid(swt_req.case_mngt.switch1.case_clam.grd_reqdetllst);
- grdf_initGrid(swt_req.case_mngt.switch1.case_incm.grd_incmlst);
- var sFlag = String(frmf_getMenuParam());
- if(utlf_isNull(sFlag)){
- sFlag = "G01";
- }
- else if(sFlag == "C"){
- sFlag = "C01";
- ds_send.setColumn(0, "srchhealexamgubun", "H");
- }
- m_vHealexamflag = sFlag.substr(0, 1);
- m_vHealexamdetlflag = sFlag;
- fGetBaseInfo();
- fInitCtrl(true);
- }
- function fGetBaseInfo()
- {
- var arrParam = [{dsNm: "ds_init_baseinfo_chedetlflaglst_A0069", cdGrpId: "A0069"}
- ,{dsNm: "ds_init_baseinfo_ghedetlflaglst_A0070", cdGrpId: "A0070"}
- ,{dsNm: "ds_init_baseinfo_asktype_A0108", cdGrpId: "A0108"}
- ,{dsNm: "ds_init_baseinfo_incomeflaglst_A0458", cdGrpId: "A0458"}
- ,{dsNm: "ds_init_baseinfo_healexamgubun_A0088", cdGrpId: "A0088"}
- ,{dsNm: "ds_init_baseinfo_plceflag_A0110", cdGrpId: "A0110"}]
- appf_getCodeList(arrParam);
- dsf_copyDs(ds_init_baseinfo_hedetlflaglst_item,ds_init_baseinfo_chedetlflaglst_A0069,"after");
- dsf_copyDs(ds_init_baseinfo_hedetlflaglst_item,ds_init_baseinfo_ghedetlflaglst_A0070,"after");
-
- frmf_addComboItem("swt_req.case_cret.cmb_srchhealexamgubun1","전체","","above");
- frmf_addComboItem("swt_req.case_cret.cmb_srchplceflag","전체","","above");
-
- swt_req.case_cret.cmb_srchplceflag.index = 2;
- ds_send.setColumn( 0, "srchhealexamflag" , m_vHealexamflag);
- ds_send.setColumn( 0, "srchhealexamdetlflag" , m_vHealexamdetlflag);
-
- var sProp="col=5,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- swt_req.case_mngt.checkbox1.setInitComp(sProp, ds_chk_checkbox1,"value","label","fn_cmpEvent");
- swt_req.case_mngt.checkbox1.setData(ds_send.getColumn(0,"srchclamstat").split("▦"),null,false);
- }
- function fn_cmpEvent()
- {
- ds_send.setColumn(0, "srchclamstat", String(swt_req.case_mngt.checkbox1.getData()).replace(",", "▦"));
- }
- function fInitCtrl(bAll)
- {
- if(bAll == true)
- {
- var curDt = utlf_getCurrentDate();
- ds_send.setColumn(0,"srchfromdd", curDt);
- ds_send.setColumn(0,"srchtodd", curDt);
- ds_send.setColumn(0,"srchclamfromdd", curDt);
- ds_send.setColumn(0,"srchclamtodd", curDt);
-
- swt_req.case_cret.cmb_reqtype.index = 0;
- swt_req.case_cret.grd_reqcretlst.setCellProperty("Head", 1, "text", 0);
- swt_req.case_mngt.switch1.case_clam.grd_reqdetllst.setCellProperty("Head", 1, "text", 0);
- swt_req.tabindex = 0;
- }
- }
- function swt_req_case_cret_ipt_srchcmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- swt_req.case_cret.btn_selcmpy.click();
- }
- }
- function swt_req_case_cret_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetComnCd("SMAHA01500", "09" , "cd", swt_req.case_cret.ipt_srchcmpycd.value, swt_req.case_cret.ipt_srchcmpycd, swt_req.case_cret.opt_srchcmpynm);
- }
- function swt_req_case_cret_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetReqCretList();
- fGetReqCretSum();
- }
- function fGetReqCretList()
- {
- var oParam = {};
- oParam.id = "TRAHA05021";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqGetReqCretList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_reqtrgtlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA05021";
- tranf_submit(oParam);
- ds_main_reqtrgtlst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_reqtrgtlst_item, "sel:N");
- ds_main_reqtrgtlst_item.updatecontrol = true;
- }
- function ds_main_reqtrgtlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
-
- if(obj.getColumn(e.row, "sel") == "Y")
- {
- var hngnm = obj.getColumn(e.row, "hngnm");
- var rrgstno = obj.getColumn(e.row, "rrgstno");
-
- for(var i = 0; i < obj.rowcount; i++)
- {
- if(hngnm == obj.getColumn(i, "hngnm") && rrgstno != obj.getColumn(i, "rrgstno"))
- {
- sysf_messageBox("청구대상자 리스트에 동명이인이","I010");
- return;
- }
- }
- }
- }
- }
- function ds_main_reqlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- for(var i = 0 ; i < obj.rowcount ; i++) {
- obj.setColumn(i, "sel", "N");
- }
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- fGetClamDetlList();
- }
- }
- function swt_req_case_cret_grd_reqcretlst_onmouseup(obj:Grid, e:GridMouseEventInfo)
- {
- //fGetReqCretSum();
- }
- function fGetReqCretSum()
- {
- var count = 0;
- var samecount = 0;
- var payinsubamt = 0;
- var payhealcntramt = 0;
-
- var rows = grdf_getSelectedRows(swt_req.case_cret.grd_reqcretlst);
- trace(rows);
- for(var i = 0 ; i < rows.length; i++) {
- var m_row = rows[i]
- count += 1;
- var rgstno = ds_main_reqtrgtlst_item.getColumn(m_row, "rrgstno");
- for(var j = i+1 ; j < rows.length; j++) {
- if(ds_main_reqtrgtlst_item.getColumn(rows[j], "rrgstno") == rgstno) {
- samecount += 1;
- break;
- }
- }
- payinsubamt += parseInt(ds_main_reqtrgtlst_item.getColumn(m_row, "payinsubamt"));
- payhealcntramt += parseInt(ds_main_reqtrgtlst_item.getColumn(m_row, "payhealcntramt"));
- }
-
- ds_temp.setColumn( 0, "count" , count);
- ds_temp.setColumn( 0, "payinsubamt" , payinsubamt);
- ds_temp.setColumn( 0, "payhealcntramt" , payhealcntramt);
- ds_temp.setColumn( 0, "count2" , count - samecount);
- }
- function swt_req_case_cret_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_req.case_cret.grd_reqcretlst, "excel", "SheetName", "true", "", "");
- }
- function swt_req_case_mngt_input4_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- swt_req.case_mngt.btn_srch2.click();
- }
- }
- function swt_req_case_mngt_btn_srch2_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetClamList();
- }
- function fGetClamList()
- {
- var oParam = {};
- oParam.id = "TRAHA05022";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqGetClamList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_reqlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHA05022";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA05022") > -1)
- {
- ds_main_reqlst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_reqlst_item, "sel:N");
- ds_main_reqlst_item.updatecontrol = true;
-
- ds_main_reqdetllst_item.clearData();
- ds_main_reqdetllst_incm.clearData();
- }
- }
- function cf_TRAHA05022(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fGetClamDetlList()
- {
- ds_main_reqdetllst_item.clearData();
- ds_send_detl.clearData();
- dsf_copyColInfo(ds_send_detl, ds_main_reqlst_item);
-
- var idx = ds_main_reqlst_item.rowposition;
- if(ds_main_reqlst_item.getColumn(idx,"sel") == "Y")
- {
- ds_send_detl.copyRow(ds_send_detl.addRow(),ds_main_reqlst_item,idx);
- }
- else
- {
- ds_main_reqlst_item.setColumn(idx, "sel", "N");
- }
-
- ds_main_reqdetllst_incm.clearData();
- var oParam = {};
- oParam.id = "TRAHA05023";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqGetClamDetlList";
- oParam.inds = "req=ds_send_detl";
- oParam.outds = "ds_main_reqdetllst_item=item ds_main_reqdetllst_incm=incm";
- oParam.async = false;
- oParam.callback = "cf_TRAHA05023";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA05023") > -1)
- {
- ds_main_reqdetllst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_item, "sel:N");
- ds_main_reqdetllst_item.updatecontrol = true;
- ds_main_reqdetllst_incm.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_incm, "sel:N");
- ds_main_reqdetllst_incm.updatecontrol = true;
- }
- }
- function cf_TRAHA05023(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function ds_main_reqdetllst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_reqdetllst_incm_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function swt_req_case_mngt_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetCret();
- }
- function fSetCret()
- {
- ds_main_reqlst_item.applyChange();
- ds_send_cretsave_reqcret.clearData();
-
- for(var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- var chk = ds_main_reqlst_item.getColumn(i, "sel");
- if(chk == "Y")
- {
- ds_main_reqlst_item.updatecontrol = false;
- ds_main_reqlst_item.setRowType(i, "i");
- ds_main_reqlst_item.updatecontrol = true;
- }
- }
- var cretData = grdf_getGridUpdateData(swt_req.case_mngt.grd_reqlst);
- ds_send_cretsave_reqcret.copyData(cretData, true);
-
- if(ds_send_cretsave_reqcret.rowcount != 0)
- {
- var oParam = {};
- oParam.id = "TXAHA05027";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqSetCretInfo";
- oParam.inds = "req=ds_send_cretsave_reqcret";
- oParam.outds = "ds_=exe";
- oParam.async = false;
- oParam.callback = "cf_TXAHA05027";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA05027") > -1)
- {
- fGetReqCretList();
- fGetClamList();
- }
- }
- else
- {
- sysf_messageBox("저장 내역이 ", "E014");
- return;
- }
- }
- function cf_TXAHA05027(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function swt_req_case_mngt_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetAmtCopy();
- }
- function fSetAmtCopy()
- {
- var chkYn = "N";
- for(var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- var chk = ds_main_reqlst_item.getColumn(i, "sel");
-
- if(chk == "Y")
- {
- ds_main_reqlst_item.setColumn(i, "incminsuamt", ds_main_reqlst_item.getColumn(i, "insuadjustamt"));
- ds_main_reqlst_item.setColumn(i, "incmhealcntramt", ds_main_reqlst_item.getColumn(i, "healcntradjustamt"));
- chkYn = "Y";
- }
- }
- if(chkYn == "N")
- {
- sysf_messageBox("선택된 내역이 ", "E014");
- return;
- }
- }
- function swt_req_case_mngt_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_req.case_mngt.grd_reqlst, "excel", "SheetName", "true", "", "");
- }
- function swt_req_case_mngt_switch1_case_clam_btn_rtn2_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPAHR00900", "SPAHR00900", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function swt_req_case_mngt_switch1_case_clam_btn_rtn_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetRtnClam();
- }
- function fSetRtnClam()
- {
- ds_main_reqdetllst_item.applyChange();
- var endCnt = 0;
- var cnclCnt = 0;
- var rtnCnt = 0;
-
- for(var i = 0; i < ds_main_reqdetllst_item.rowcount; i++)
- {
- if(ds_main_reqdetllst_item.getColumn(i, "sel") == "Y")
- {
- var clamstat = ds_main_reqdetllst_item.getColumn(i, "clamstat");
- ds_main_reqdetllst_item.updatecontrol = false;
- ds_main_reqdetllst_item.setRowType(i, "i");
- ds_main_reqdetllst_item.updatecontrol = true;
-
- if(clamstat == "Y") endCnt++;
- if(clamstat == "C") cnclCnt++;
- if(clamstat == "R") rtnCnt++;
- }
- }
-
- if(endCnt > 0)
- {
- sysf_messageBox("청구완료 내역을 반환 할수","I004");
- return;
- }
-
- if(cnclCnt > 0)
- {
- sysf_messageBox("청구취소 내역을 반환 할수","I004");
- return;
- }
-
- if(rtnCnt > 0)
- {
- sysf_messageBox("청구반환 내역을 반환 할수","I004");
- return;
- }
-
- var rtnData = grdf_getGridUpdateData(swt_req.case_mngt.switch1.case_clam.grd_reqdetllst);
- ds_send_reqsave_rtndata.copyData(rtnData, true);
- if(ds_send_reqsave_rtndata.rowcount != 0)
- {
- var oParam = {};
- oParam.id = "TXAHA05023";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqExeReturnClam";
- oParam.inds = "req=ds_send_reqsave_rtndata";
- oParam.outds = "ds_=exe";
- oParam.async = false;
- oParam.callback = "cf_TXAHA05023";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA05023") > -1)
- {
- fGetClamList();
- for(var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- if(ds_main_reqlst_item.getColumn(i, "clamseqno") == ds_send_detl.getColumn(0, "clamseqno"))
- {
- ds_main_reqlst_item.setColumn(i, "sel", "Y");
-
- var oParam = {};
- oParam.id = "TRAHA05023";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqGetClamDetlList";
- oParam.inds = "req=ds_send_detl";
- oParam.outds = "ds_main_reqdetllst_item=item ds_main_reqdetllst_incm=incm";
- oParam.async = false;
- oParam.callback = "cf_TRAHA05023";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA05023") > -1)
- {
- ds_main_reqdetllst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_item, "sel:N");
- ds_main_reqdetllst_item.updatecontrol = true;
- ds_main_reqdetllst_incm.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_incm, "sel:N");
- ds_main_reqdetllst_incm.updatecontrol = true;
- }
- }
- }
- }
- }
- else
- {
- sysf_messageBox("반환 내역이 " , "E014");
- return;
- }
- }
- function cf_TXAHA05023(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function swt_req_case_mngt_switch1_case_clam_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetDetAmtCopy();
- }
- function fSetDetAmtCopy()
- {
- for(var i = 0; i < ds_main_reqdetllst_item.rowcount; i++)
- {
- ds_main_reqdetllst_item.setColumn(i, "insuadjustamt", ds_main_reqdetllst_item.getColumn(i, "payinsubamt"));
- ds_main_reqdetllst_item.setColumn(i, "healcntradjustamt", ds_main_reqdetllst_item.getColumn(i, "payhealcntramt"));
- }
- }
- function swt_req_case_mngt_switch1_case_clam_btn_detlexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_req.case_mngt.switch1.case_clam.grd_reqdetllst, "excel", "SheetName", "true", "", "");
- }
- function swt_req_case_mngt_switch1_case_incm_btn_incmexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_req.case_mngt.switch1.case_incm.grd_incmlst, "excel", "SheetName", "true", "", "");
- }
- function btn_savecret_onclick(obj:Button, e:ClickEventInfo)
- {
- if(isMagmAprv())
- {
- return false; //마감결제 완료되어있으므로 더이상 진행하지 않음 - PAM.js
- }
-
- if(swt_req.tabindex == 0)
- {
- if(sysf_messageBox("청구생성을","Q004") == 6)
- {
- fSetReqCret(); //청구생성
- fGetReqCretSum();
- }
- }
- }
- function fSetReqCret()
- {
- if(utlf_isNull(ds_send.getColumn(0, "srchhealexamgubun")))
- {
- sysf_messageBox("건진구분 ", "E014");
- return;
- }
- if(utlf_isNull(ds_send.getColumn(0, "srchplceflag")))
- {
- sysf_messageBox("건진장소 ", "E014");
- return;
- }
- if(utlf_isNull(ds_send_cretsave.getColumn(0, "sisfilename")))
- {
- sysf_messageBox("파일명 ", "E014");
- return;
- }
-
- ds_main_reqtrgtlst_item.applyChange();
- ds_send_cretsave_reqcret.clearData();
-
- for(var i = 0; i < ds_main_reqtrgtlst_item.rowcount; i++)
- {
- var chk = ds_main_reqtrgtlst_item.getColumn(i, "sel");
- if(chk == "Y")
- {
- dsf_makeValue(ds_main_reqtrgtlst_item, "cretflag", "string", ds_send.getColumn(0, "srchreqtype"), i);
- dsf_makeValue(ds_main_reqtrgtlst_item, "plceflag", "string", ds_send.getColumn(0, "srchplceflag"), i);
- dsf_makeValue(ds_main_reqtrgtlst_item, "sisfilename", "string", ds_send_cretsave.getColumn(0, "sisfilename"), i);
-
- ds_main_reqtrgtlst_item.updatecontrol = false;
- ds_main_reqtrgtlst_item.setRowType(i, "i");
- ds_main_reqtrgtlst_item.updatecontrol = true;
- }
- }
- var cretData = grdf_getGridUpdateData(swt_req.case_cret.grd_reqcretlst, "insert");
- ds_send_cretsave_reqcret.copyData(cretData, true);
-
- if(ds_send_cretsave_reqcret.rowcount != 0)
- {
- var oParam = {};
- oParam.id = "TXAHA05021";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqExeReqCretInfo";
- oParam.inds = "req=ds_send_cretsave_reqcret";
- oParam.outds = "ds_=exe";
- oParam.async = false;
- oParam.callback = "cf_TXAHA05021";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA05021") > -1)
- {
- fGetReqCretList();
- fGetClamList();
- ds_send_cretsave.setColumn(0, "sisfilename", "");
- }
- }
- else
- {
- sysf_messageBox("생성할 내역이 ", "E014");
- return;
- }
- }
- function cf_TXAHA05021(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function btn_savaincm_onclick(obj:Button, e:ClickEventInfo)
- {
- if(isMagmAprv())
- {
- return false;
- }
- if(swt_req.tabindex == 1)
- {
- if(sysf_messageBox("입금내역을","Q002") == 6)
- {
- fSetClamIncm("I");
- }
- }
- }
- function fSetClamIncm(vClamFlag)
- {
- if(utlf_isNull(vClamFlag)) return;
-
- ds_send_reqsave_reqdata.clearData();
- ds_send_reqsave_reqdetldata.clearData();
- var reqData = "";
- var reqDetlData = "";
- var cnclCnt = 0;
-
- ds_main_reqlst_item.applyChange();
- ds_main_reqdetllst_item.applyChange();
-
- for( var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- if(ds_main_reqlst_item.getColumn(i, "sel") == "Y")
- {
- if(ds_main_reqlst_item.getColumn(i, "clamstat") == "C")
- {
- cnclCnt++;
- }
- ds_main_reqlst_item.updatecontrol = false;
- ds_main_reqlst_item.setRowType(i, "i");
- ds_main_reqlst_item.updatecontrol = true;
- }
- }
-
- for(var j = 0; j < ds_main_reqdetllst_item.rowcount; j++)
- {
- if(!utlf_isNull(ds_main_reqdetllst_item.getColumn(j, "clamstat")))
- {
- ds_main_reqdetllst_item.updatecontrol = false;
- ds_main_reqdetllst_item.setRowType(j, "i");
- ds_main_reqdetllst_item.updatecontrol = true;
- }
- }
-
- var reqData = grdf_getGridUpdateData(swt_req.case_mngt.grd_reqlst);
- ds_send_reqsave_reqdata.copyData(reqData, true)
- grdf_setStatusColumn(reqData, "m");
- var reqDetlData = grdf_getGridUpdateData(swt_req.case_mngt.switch1.case_clam.grd_reqdetllst);
- grdf_setStatusColumn(reqDetlData, "m");
- ds_send_reqsave_reqdetldata.copyData(reqDetlData, true)
-
- if(cnclCnt > 0)
- {
- sysf_messageBox("청구취소 내역은 입금저장" , "E001");
- return;
- }
-
- if(ds_send_reqsave_reqdata.rowcount == 0)
- {
- sysf_messageBox("선택된 내역이" , "I004");
- return;
- }
-
- ds_send_reqsave_reqdata.addColumn("execlamflag", "string");
- dsf_setDefaultVal(ds_send_reqsave_reqdata, "execlamflag:"+vClamFlag);
-
- var oParam = {};
- oParam.id = "TXAHA05022";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqExeClamMngt";
- oParam.inds = "req=ds_send_reqsave_reqdata reqdetl=ds_send_reqsave_reqdetldata";
- oParam.outds = "ds_=exe";
- oParam.async = false;
- oParam.callback = "cf_TXAHA05022";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA05022") > -1)
- {
- ds_main_reqlst_item.applyChange();
- ds_main_reqdetllst_item.applyChange();
-
- fGetClamList();
- for(var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- if(ds_main_reqlst_item.getColumn(i, "clamseqno") == ds_send_detl.getColumn(0, "clamseqno"))
- {
- ds_main_reqlst_item.setColumn(i, "sel", "Y");
- var oParam = {};
- oParam.id = "TRAHA05023";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqGetClamDetlList";
- oParam.inds = "req=ds_send_detl";
- oParam.outds = "ds_main_reqdetllst_item=item ds_main_reqdetllst_incm=incm";
- oParam.async = false;
- oParam.callback = "cf_TRAHA05023";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA05023") > -1)
- {
- ds_main_reqdetllst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_item, "sel:N");
- ds_main_reqdetllst_item.updatecontrol = true;
- ds_main_reqdetllst_incm.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_incm, "sel:N");
- ds_main_reqdetllst_incm.updatecontrol = true;
- }
- }
- }
- }
- }
- function cf_TXAHA05022(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function btn_clamcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- if(isMagmAprv())
- {
- return false;
- }
-
- if(swt_req.tabindex == 1)
- {
- if(sysf_messageBox("청구내역을","Q007") == 6)
- {
- fExeClamCncl("C");
- }
- }
- }
- function fExeClamCncl(vClamFlag)
- {
- if(utlf_isNull(vClamFlag)) return;
-
- ds_send_reqsave_reqdata.clearData();
- ds_send_reqsave_reqdetldata.clearData();
-
- ds_main_reqlst_item.applyChange();
- var cnclCnt = 0;
-
- for(var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- var srcClamStat = ds_main_reqlst_item.getColumn(i, "clamstat");
- if(ds_main_reqlst_item.getColumn(i, "sel") == "Y")
- {
- if(ds_main_reqlst_item.getColumn(i, "clamstat") == "C")
- {
- cnclCnt++;
- }
- ds_main_reqlst_item.updatecontrol = false;
- ds_main_reqlst_item.setRowType(i, "i");
- ds_main_reqlst_item.updatecontrol = true;
- }
- }
- if(cnclCnt > 0)
- {
- sysf_messageBox("이미 청구취소 된 내역" ,"E008");
- return;
- }
-
- var reqData = grdf_getGridUpdateData(swt_req.case_mngt.grd_reqlst);
- ds_send_reqsave_reqdata.copyData(reqData, true);
-
- if(ds_send_reqsave_reqdata.rowcount != 0)
- {
-
- if(ds_main_reqdetllst_incm.rowcount > 0)
- {
- sysf_messageBox("입금내역이 존재하는 청구내역은 청구취소", "E001");
- return;
- }
-
- ds_send_reqsave_reqdetldata.copyData(grdf_getGridUpdateData(swt_req.case_mngt.switch1.case_clam.grd_reqdetllst), true);
- ds_send_reqsave_reqdata.addColumn("execlamflag", "string");
- dsf_setDefaultVal(ds_send_reqsave_reqdata, "execlamflag:"+vClamFlag);
-
- var oParam = {};
- oParam.id = "TXAHA05022";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqExeClamMngt";
- oParam.inds = "req=ds_send_reqsave_reqdata reqdetl=ds_send_reqsave_reqdetldata";
- oParam.outds = "ds_=exe";
- oParam.async = false;
- oParam.callback = "cf_TXAHA05022";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA05022") > -1)
- {
- ds_main_reqlst_item.applyChange();
- ds_main_reqdetllst_item.applyChange();
-
- fGetClamList();
- for(var i = 0; i < ds_main_reqlst_item.rowcount; i++)
- {
- if(ds_main_reqlst_item.getColumn(i, "clamseqno") == ds_send_detl.getColumn(0, "clamseqno"))
- {
- ds_main_reqlst_item.setColumn(i, "sel", "Y");
-
- var oParam = {};
- oParam.id = "TRAHA05023";
- oParam.service = "healexamreqapp.GnrlReqMngt";
- oParam.method = "reqGetClamDetlList";
- oParam.inds = "req=ds_send_detl";
- oParam.outds = "ds_main_reqdetllst_item=item ds_main_reqdetllst_incm=incm";
- oParam.async = false;
- oParam.callback = "cf_TRAHA05023";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA05023") > -1)
- {
- ds_main_reqdetllst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_item, "sel:N");
- ds_main_reqdetllst_item.updatecontrol = true;
- ds_main_reqdetllst_incm.updatecontrol = false;
- dsf_setFixVal(ds_main_reqdetllst_incm, "sel:N");
- ds_main_reqdetllst_incm.updatecontrol = true;
- }
- }
- }
- }
- }
- else
- {
- sysf_messageBox("청구 내역이 " , "E014");
- return;
- }
- }
- function swt_req_case_cret_grd_reqcretlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- fGetReqCretSum();
- }]]></Script>
- </Form>
- </FDL>
|